#ifndef DRAWS_H
#define DRAWS_H

#include <QObject>
#include "qpainter.h"

class QPaintEvent;

class Draws : public QObject
{
	Q_OBJECT

public:
	Draws(QObject *parent = 0);
	~Draws();

	void viewPaintEvent(QPaintEvent *event);
	static void DrawArrowLine(QPainter& _painter, QPointF &p1, QPointF &p2);
		//const QString& _name, const QColor& _color);
	static void DrawArrow(QPainter *_painter, QPointF &p1, QPointF &p2);

private:
	
};

extern Draws * gDraws;

#endif // DRAWS_H
